package id.co.rho.scoring.cid.server.service;

import id.co.rho.scoring.cid.domain.Criteria;
import id.co.rho.scoring.cid.domain.Model;

import java.util.List;

public interface ScoringModelService {
	public List<Criteria> getAllCriteria();
	public Criteria getCriteriaById(Long id);
	public Criteria saveOrUpdate(Criteria model);
	public List<Criteria> getCriteriaByModelId(Long modelId);
	public List<Criteria> getCriteriaByParentId(Long parentlId);
	public Model getModelById(Long id);
	public Model saveOrUpdateModel(Model model);
	public String setAsDefault(Long id, String modelName);
	public Integer getModelRev(String modelName);
	public void deleteModel(Model model);

}
